package com.fcat.common.user.entity;

import javax.persistence.*;

@Table(name = "sys_user_entity")
public class UserEntity {
    @Id
    @Column(name = "ID")
    private String id;

    @Column(name = "EMAIL")
    private String email;

    @Column(name = "EMAIL_CONSTRAINT")
    private String emailConstraint;

    @Column(name = "EMAIL_VERIFIED")
    private Boolean emailVerified;

    @Column(name = "ENABLED")
    private Boolean enabled;

    @Column(name = "FEDERATION_LINK")
    private String federationLink;

    @Column(name = "FIRST_NAME")
    private String firstName;

    @Column(name = "LAST_NAME")
    private String lastName;

    @Column(name = "REALM_ID")
    private String realmId;

    @Column(name = "USERNAME")
    private String username;

    @Column(name = "CREATED_TIMESTAMP")
    private Long createdTimestamp;

    @Column(name = "SERVICE_ACCOUNT_CLIENT_LINK")
    private String serviceAccountClientLink;

    @Column(name = "NOT_BEFORE")
    private Integer notBefore;

    @Column(name = "IDCARD")
    private String idcard;

    @Column(name = "MODIFY_TIMESTAMP")
    private Long modifyTimestamp;

    /**
     * @return ID
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return EMAIL
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return EMAIL_CONSTRAINT
     */
    public String getEmailConstraint() {
        return emailConstraint;
    }

    /**
     * @param emailConstraint
     */
    public void setEmailConstraint(String emailConstraint) {
        this.emailConstraint = emailConstraint;
    }

    /**
     * @return EMAIL_VERIFIED
     */
    public Boolean getEmailVerified() {
        return emailVerified;
    }

    /**
     * @param emailVerified
     */
    public void setEmailVerified(Boolean emailVerified) {
        this.emailVerified = emailVerified;
    }

    /**
     * @return ENABLED
     */
    public Boolean getEnabled() {
        return enabled;
    }

    /**
     * @param enabled
     */
    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    /**
     * @return FEDERATION_LINK
     */
    public String getFederationLink() {
        return federationLink;
    }

    /**
     * @param federationLink
     */
    public void setFederationLink(String federationLink) {
        this.federationLink = federationLink;
    }

    /**
     * @return FIRST_NAME
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * @param firstName
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * @return LAST_NAME
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * @return REALM_ID
     */
    public String getRealmId() {
        return realmId;
    }

    /**
     * @param realmId
     */
    public void setRealmId(String realmId) {
        this.realmId = realmId;
    }

    /**
     * @return USERNAME
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return CREATED_TIMESTAMP
     */
    public Long getCreatedTimestamp() {
        return createdTimestamp;
    }

    /**
     * @param createdTimestamp
     */
    public void setCreatedTimestamp(Long createdTimestamp) {
        this.createdTimestamp = createdTimestamp;
    }

    /**
     * @return SERVICE_ACCOUNT_CLIENT_LINK
     */
    public String getServiceAccountClientLink() {
        return serviceAccountClientLink;
    }

    /**
     * @param serviceAccountClientLink
     */
    public void setServiceAccountClientLink(String serviceAccountClientLink) {
        this.serviceAccountClientLink = serviceAccountClientLink;
    }

    /**
     * @return NOT_BEFORE
     */
    public Integer getNotBefore() {
        return notBefore;
    }

    /**
     * @param notBefore
     */
    public void setNotBefore(Integer notBefore) {
        this.notBefore = notBefore;
    }

    /**
     * @return IDCARD
     */
    public String getIdcard() {
        return idcard;
    }

    /**
     * @param idcard
     */
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    /**
     * @return MODIFY_TIMESTAMP
     */
    public Long getModifyTimestamp() {
        return modifyTimestamp;
    }

    /**
     * @param modifyTimestamp
     */
    public void setModifyTimestamp(Long modifyTimestamp) {
        this.modifyTimestamp = modifyTimestamp;
    }
}